<div class="page-content">
	 <div class="step">
	 	 
	 </div>
	 <form id="addCardForm">
	 	  <div class="list-li">
	       		<div style="text-align: center; padding-bottom: 10px" v-if="id==0">
	       		 	<img style="    width: 70px;padding:10px 10px 0px 0px;" :src="store.logo">
  					<div>
  						<a class="color_5"  :href="'/pages/shop_admin/?store_id='+store.store_id+'#/merchantInfo'">点击修改商户名称及logo </a>
  					</div>
	       		 </div>	

	         	 <div class="li"  >
	            	<div class="li-input-text">名称</div>
		            <div class="li-input">
		              <input  maxlength="9" placeholder='会员卡名称' :value='cardInfo.base_info.title' name='title'></input>
		            </div>
		            <div class="clear"></div>
	         	 </div> 


	         	 <div class="li"  >
	            	<div class="li-input-text">封面</div>
		            <div class="li-input">
		               <div class="" id="uploadBg" :url="uploadUrl" maxUpload="1"></div>
		               <div class="light" v-if="id>0">如须更改封面，请重新上传</div>
		            </div>
		            <div class="clear"></div>
	         	 </div> 



	 			<div class="li"  style="display: none;" >
	            	<div class="li-input-text">居中按钮</div>
		            <div class="li-input">
		              <input  maxlength="9" placeholder='如：立即使用' :value='cardInfo.base_info.center_title?cardInfo.base_info.center_title:"立即使用"'  name='center_title'></input>
		            </div>
		            <div class="clear"></div>
	         	 </div> 

	         	 <div class="li"   style="display: none;" >
	            	<div class="li-input-text">副标题</div>
		            <div class="li-input">
		              <input  maxlength="9" placeholder='如：使用会员卡下单有优惠哦' :value='cardInfo.base_info.center_sub_title?cardInfo.base_info.center_sub_title:"使用会员卡下单有优惠哦"' name='center_sub_title'></input>
		            </div>
		            <div class="clear"></div>
	         	 </div> 

	         	 

	         	  <div class="li"  v-if="!id">
	            	<div class="li-input-text">卡券库存</div>
		            <div class="li-input">
		              <input  maxlength="9" type="number" placeholder='卡券库存的数量'  value='999999'  name='quantity'></input>
		            </div>
		            <div class="clear"></div>
	         	 </div> 


	         	  <div class="li"  >
	            	 	<div class="li-input-text">积分规则</div>
		            <div class="li-input">
		              <input  maxlength="120" type="text" placeholder='积分规则' value='每消费1元增加1积分' name='bonus_rules'></input>
		            </div>
		           
		            <div class="clear"></div>
	         	 </div> 
	          
 				  
 				  <div class="li hidden"  >
	            	<div class="li-input-text">获取基本信息</div>
		            <div class="li-input">
		                          <label  ><input checked style="width:10px;vertical-align: middle;" value="1" type="radio" name="wx_activate"  > 是</label>
		                <label  ><input style="width:10px;vertical-align: middle;" type="radio" value="0"  name="wx_activate"  > 否 </label> <span clas="light">(领取会员卡时，需要填写手机号)</span>
		            </div>
		            <div class="clear"></div>
	         	 </div> 


	         	 

	           <div class="li hidden"  >
	            	<div class="li-input-text">使用提醒</div>
		            <div class="li-input">
		              <input maxlength="16"  placeholder='卡券使用提醒' value='到店使用时向服务员出示此券' name='notice'></input>
		            </div>
		            <div class="clear"></div>
	         	</div> 

	         	<div class="li"  >
	            	<div class="li-input-text">使用须知</div>
		            <div class="li-input">
		              <input maxlength="16"  placeholder='使用须知' :value='cardInfo.base_info.description' name='description'></input>
		            </div>
		            <div class="clear"></div>
	         	</div> 
	         	

	         	 <div class="li"  >
	            	<div class="li-input-text">特权</div>
		            <div class="li-input">
		            	<textarea maxlength="1024"  placeholder='会员卡特权说明' name="prerogative">{{cardInfo.prerogative}}</textarea>
		             
		            </div>
		            <div class="clear"></div>
	         	</div> 

	         	


       </div>  

         <div  v-if="is_publish == 1" class="btn w80 disable "   style="margin-left: 10%; margin-top: 20px; margin-bottom: 30px">确认创建会员卡</div>

       <div  v-if="is_publish == 0" class="btn w80" v-on:click="publish($event)"  style="margin-left: 10%; margin-top: 20px; margin-bottom: 30px">确认创建会员卡</div>

	 </div>

	 </form>



    <!-- 设置时间段 -->
</div>
